<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <title>Document</title>


    <link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/css/jquery-weui.css">
    <link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/demos/css/demos.css">

            <link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/static/bootstrap/css/bootstrap.min.css">


</head>
<body>

<div class="main_s">

<a href="<?php echo U('index',['time'=>1,'mvid'=>$mid]);?>" style="text-decoration:none;"> <div class="weui_cell">
        <div class="weui_cell_bd weui_cell_primary">
           <b style="font-size: 16px"><p class="movie-name"><?php echo ($uname[uname]); ?>(<?php echo mb_substr($uname[uadd], 0, 2, 'utf-8')?>店)</p></b>
            <p class="movie-summary"><?php echo ($uname[uadd]); ?></p>
        </div>
        <div class="weui_cell_ft">
            <div class="movie-point"><p class="glyphicon glyphicon-chevron-right"></p></div>
        </div>
    </div></a>

    <div class="weui_cell">
        <div class="weui_cell_hd"><img src="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/demos/images/zhuo.jpg" alt="" width="25" style="margin-top: -10px"></div>
        <div class="weui_cell_bd weui_cell_primary">
            <p><b style="font-size: 16px">选座购票</b>(电影一分钟前关闭在线售票)</p>
        </div>
    </div>


    <div style="border:6px solid #F3F3F5;"></div>

    <style>

        .navtab {
            display: -webkit-flex;
            display: flex;
        }

        .navtab .item {
            -webkit-flex: 1;
            flex: 1;
            line-height: 45px;
            text-align: center;
            color: #333;
        }

        .navtab .item.active {
            color: #36CA71;
            border-bottom: 2px solid #36CA71;
        }
    </style>

    <div class="navtab">

        <a href="<?php echo U('season',['id'=>$id,'time'=>1,'uname'=>$uname[uname],'uadd'=>$uname[uadd]]);?>" class="item <?php echo $td?'active':'' ?>">
            今天<?php echo ($today); ?>
        </a>
        <a href="<?php echo U('season',['id'=>$id,'time'=>2,'uname'=>$uname[uname],'uadd'=>$uname[uadd]]);?>" class="item <?php echo $tm?'active':'' ?>">
            明天<?php echo ($tomorrow); ?>
        </a>
        <a href="<?php echo U('season',['id'=>$id,'time'=>3,'uname'=>$uname[uname],'uadd'=>$uname[uadd]]);?>" class="item <?php echo $ac?'active':'' ?>">
            后天<?php echo ($acquired); ?>
        </a>
        <a href="<?php echo U('season',['id'=>$id,'time'=>4,'uname'=>$uname[uname],'uadd'=>$uname[uadd]]);?>" class="item <?php echo $wk?'active':'' ?>">
            本周<?php echo ($week); ?>
        </a>
    </div>

 <?php if(empty($data)): ?><center><p style="font-size:30px" class="weui_panel_ft">暂无电影场次</p>
           <?php else: ?>
<?php if(is_array($data)): foreach($data as $key=>$val): ?><a href="<?php echo U('Sead/index',['ftime'=>$val['time'],'jtime'=>$val['ml'],'yy'=>$val['lg'],'rname'=>$val['rname'],'price'=>$val['p'],'sid'=>$val['sid'],'rid'=>$val['rid']]);?>" style="text-decoration:none;"><div class="weui_cell">
    <div class="weui_cell_bd weui_cell_primary">
        <div class="weui_cell">
            <div class="weui_cell_hd">
                <div style="font-weight: bold;font-size: 20px;"><?php echo date('H:i',$val['time']) ?></div>
                <div style="font-size: 15px;color: #ADADAD;"><?php echo date('H:i',$val['ml']) ?>结束</div>
            </div>
            <div class="weui_cell_bd weui_cell_primary" style="margin-left: 50px;">
                <div style="font-size: 15px;"><?php echo ($val['lg']); ?></div>
                <div style="color: #ADADAD;"><?php echo ($val['rname']); ?></div>
            </div>
            <div class="weui_cell_ft">
                <div class="movie-point">￥<b><span style="font-size: 25px;color:#F38984"><?php echo ($val['p']); ?></span></b></div>
            </div>
        </div>
    </div>
</div></a><?php endforeach; endif; endif; ?>

</div>
<script src="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/lib/jquery-2.1.4.js"></script>
<script src="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/js/jquery-weui.js"></script>
</body>
</html>